﻿#ifndef CDevCamer_H
#define CDevCamer_H
/********************************************************************************
** @ Date:2025/08/19
** @ Author: HanJiaXin
** @ Description:摄像头设备类
** @ Version:1.0.0
** @ ClassName:CDevCamer
** @ Fun:
********************************************************************************/
#include <QObject>
#include "CDevDataCam.h"
#include "CCamerCtrMange.h"
#include "CVideoWorkMange.h"

class CDevCamer  : public QObject
{
	Q_OBJECT

public:
	CDevCamer(QString sDevGuid, QString sDevName, bool& bRet);
	~CDevCamer();

	bool ctrDev(SCtrInfo& stCtrInfo);				//控制设备

private:
	bool init(QString sDevGuid);                    //初始化AI检测设备类

public:
	QString m_sDevGuid;//设备GUid
	QString m_sDevName;//设备名称
	CDevDataCam* m_pDevData = nullptr;
	CCamerCtrMange* m_pCamerCtrMange = nullptr;	               //摄像头设备控制线程
	CVideoWorkMange* m_pVideoWorkMange = nullptr;				   //摄像头业务逻辑线程
};

#endif